WooCommerce\PayPalCommerce\ApiClient\Factory\ItemFactory S

Total Complexity 25
Dependencies 9
Dependents 2
Total lines 198
Lines of code 125
Logical lines of code 45
Comment lines 52
Methods 6
Properties 1

Methods 6

Method Rating Maintainability Complexity Lines of code
from_paypal_response()
A
47 12 37
from_wc_order_line_item()
S
54 7 19
from_wc_cart()
S
46 3 42
from_wc_order()
S
60 1 15
__construct()
S
81 1 3
from_wc_order_fee()
S
66 1 9